package com.misty.blog.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName : PropertyConfig
 * @Description :
 * @Author :
 * @Date: 2022-12-11 21:57
 */
@Data
@Component
public class PropertyConfig {

    @Value("${server.port}")
    private String port;

    @Value("${server.ip}")
    private String ip;

//    public String address = "http://" + ip + ":" + port;z
}
